package com.suixun.vo.credits;

/**
 * 显示投放区域
 * 
 * @author yh
 * @date 2017年12月14日
 */
public class PutAreaShowVo {

    /**
     * 对应sys_orgnization表uuid
     */
    private String areaId;

    /**
     * 区显示名
     */
    private String areaName;

    /**
     * 范围 0所有1教师2家长，默认为0
     */
    private Short putRange;

    /**
     * 范围 显示名
     */
    private String putRangeName;

    public PutAreaShowVo() {
    }

    public PutAreaShowVo(String areaId, Short putRange) {
        this.areaId = areaId;
        this.putRange = putRange;
        switch (putRange.intValue()) {
        case 0:
            this.putRangeName = "所有";
            break;
        case 1:
            this.putRangeName = "教师";
            break;
        case 2:
            this.putRangeName = "家长";
            break;
        }
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public Short getPutRange() {
        return putRange;
    }

    public void setPutRange(Short putRange) {
        this.putRange = putRange;
    }

    public String getPutRangeName() {
        return putRangeName;
    }

    public void setPutRangeName(String putRangeName) {
        this.putRangeName = putRangeName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
    
}
